package com.zscat.mallplus.center.service;

import java.util.List;

import com.zscat.mallplus.center.entity.CenterInvoice;

/**
 * 发票信息Service接口
 * 
 * @author Wsen
 * @date 2020-09-20
 */
public interface ICenterInvoiceService 
{
    /**
     * 查询发票信息
     * 
     * @param id 发票信息ID
     * @return 发票信息
     */
    public CenterInvoice selectCenterInvoiceById(Long id);

    /**
     * 查询发票信息列表
     * 
     * @param centerInvoice 发票信息
     * @return 发票信息集合
     */
    public List<CenterInvoice> selectCenterInvoiceList(CenterInvoice centerInvoice);

    /**
     * 新增发票信息
     * 
     * @param centerInvoice 发票信息
     * @return 结果
     */
    public int insertCenterInvoice(CenterInvoice centerInvoice);

    /**
     * 修改发票信息
     * 
     * @param centerInvoice 发票信息
     * @return 结果
     */
    public int updateCenterInvoice(CenterInvoice centerInvoice);

    /**
     * 批量删除发票信息
     * 
     * @param ids 需要删除的发票信息ID
     * @return 结果
     */
    public int deleteCenterInvoiceByIds(Long[] ids);

    /**
     * 删除发票信息信息
     * 
     * @param id 发票信息ID
     * @return 结果
     */
    public int deleteCenterInvoiceById(Long id);
}
